package ioc

import (
	"github.com/gin-gonic/gin"
	"github.com/robfig/cron/v3"
)

type App struct {
	Server *gin.Engine
	Cron   *cron.Cron
}

func InitApp(server *gin.Engine, cron *cron.Cron) *App {
	return &App{
		Server: server,
		Cron:   cron,
	}
}
